package com.example.agriculturemachine.ui.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import androidx.annotation.Nullable;

import com.example.agriculturemachine.R;

public class controlActivity extends Activity {

    private TextView mControlBack;

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_control_land);
        initView();
        initEvent();
    }



    private void initEvent() {
        mControlBack.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }

    private void initView() {
        mControlBack = findViewById(R.id.controlback);

    }
}